package com.leizi.igym.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * @TableName t_trainer_category
 */
@TableName(value ="t_trainer_category")
@Data
public class TrainerCategory implements Serializable {
    /**
     * id主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 教练id
     */
    @TableField(value = "trainer_id")
    private Long trainerId;

    /**
     * 分类id（即：教练擅长方向的id）
     */
    @TableField(value = "category_id")
    private Long categoryId;

    /**
     * 逻辑删除，0-未删除，1-已删除辣
     */
    @TableField(value = "deleted")
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}